<!doctype html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>{% block title %}{% endblock %}</title>
  <link rel="stylesheet" href="{{ STATIC_URL }}admin_style.css" type="text/css" media="screen" />
</head>

<body>
  <div class="wrapper">

  <nav class="top-nav">
    Welcome, {{ user }} |
    <a href="/reg/logout/">注销</a> |
    <a href="/">个人主页</a>
  </nav>

  <header><h2>管理界面</h2></header>

  <nav class="main-nav">
    <a href="/admin/article/list/">文章</a>
    <a href="/admin/category/list/">分类目录</a>
    <a href="/admin/user/list/">用户</a>
    <a href="/admin/settings/">设置</a>
  </nav>

  <div class="content">
  {% block content %}{% endblock %}
  </div>
  
  </div> <!-- end wrapper -->

  <footer>&copy; 2011 CoolBlog is designed by fuqcool.</footer>

</body>
